﻿<%@page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<!DOCTYPE HTML>
<html>
<head>
	<%@include file="/WEB-INF/views/include.jsp"%>
</head>
<body>
<nav class="breadcrumb"><i class="Hui-iconfont">&#xe67f;</i> 首页 <span class="c-gray en">&gt;</span> 前台用户管理 <span class="c-gray en">&gt;</span> 高管信息 <a class="btn btn-success radius r" style="line-height:1.6em;margin-top:3px" href="javascript:location.replace(location.href);" title="刷新" ><i class="Hui-iconfont">&#xe68f;</i></a></nav>
<div class="page-container">
	<form action="${base}/admin/industry/listByCondition.do" method="post" class="form form-horizontal" id="form-industry-list" name="form-industry-list">
		<div class="text-c">
			<input type="text" name="searchText" id="searchText" placeholder=" 高管姓名" style="width:550px" class="input-text" value="${searchText}">
			<button name="" id="searchButton" class="btn btn-success" type="submit"><i class="Hui-iconfont">&#xe665;</i> 搜高管</button>
		</div>
	</form>
	<!-- 只能查询、修改,不能删除、新增 -->
	<!-- <div class="cl pd-5 bg-1 bk-gray mt-20"> <span class="l"><a href="javascript:;" id="delButton" class="btn btn-danger radius"><i class="Hui-iconfont">&#xe6e2;</i> 批量删除</a> <a id="addButton" class="btn btn-primary radius" data-title="添加资讯" _href="article-add.html" href="javascript:;"><i class="Hui-iconfont">&#xe600;</i> 添加资讯</a></span> <span class="r">共有数据：<strong>54</strong> 条</span> </div> -->
	<div class="mt-20">
		<table class="table table-border table-bordered table-bg table-hover table-sort">
			<thead>
				<tr class="text-c">
					<th width="25"><input type="checkbox" name="" value=""></th>
					<th width="120">ID</th>
					<th>自荐人姓名</th>
					<th width="180">手机号码</th>
					<th width="200">户籍所在地</th>
					<th width="200">关注行业领域</th>
					<th width="120">操作</th>
				</tr>
			</thead>

			<tbody>
				<!-- 开始循环 -->
				<c:choose>
					<c:when test="${not empty varList}">
						<c:forEach items="${varList}" var="var" varStatus="status">
							<tr>
								<td class='td-manage' style="width: 30px;"><input type="checkbox" name="" id="${var.id}" value=""></td>
								<td class='td-manage'>${var.id }</td>
								<td class='td-manage'>${var.name }</td>
								<td class='td-manage'>${var.mobilephone }</td>
								<td class='td-manage'>${var.residence }</td>
								<td class='td-manage'>${var.desiredIndustry }</td>
								<td class="td-manage">
									<a class="btn btn-primary radius"
										href="javascript:;"
										onclick="history_view(${var.userId})"
									>投递记录</a>
									<a class="btn btn-primary radius"
										href="javascript:;"
										onclick="executives_view(${var.userId})"
									>察看详情</a>
								</td>
							</tr>

						</c:forEach>
					</c:when>
				</c:choose>
			</tbody>
		</table>
	</div>
</div>
<script type="text/javascript" src="${base}/common/js/executives/executives.js?v=${v}"></script>
<script type="text/javascript">
var contextPath = "${base}";

$('.table-sort').dataTable({
	"aaSorting": [[ 1, "asc" ]],//默认第几个排序
	"bStateSave": true,//状态保存
	"aoColumnDefs": [
	  //{"bVisible": false, "aTargets": [ 3 ]} //控制列的隐藏显示
	  //{"orderable":false,"aTargets":[0,6]}// 不参与排序的列
	]
});

</script>
</body>
</html>